ComponentOne ASP.NET MVC Controls
TemplateBind Method (ControlBuilder<TControl,TBuilder>)

C1.Web.Mvc.Fluent Namespace > ControlBuilder<TControl,TBuilder> Class : TemplateBind Method
The specified property name.
The specified item name in DataContext.
Configurates the C1.Web.Mvc.Control.TemplateBindings client event. Sets the collection of the template bindings.
Syntax
'Declaration
 
Public Function TemplateBind( _
   ByVal propertyName As String, _
   ByVal boundName As String _
) As TBuilder
public TBuilder TemplateBind( 
   string propertyName,
   string boundName
)

Parameters

propertyName
The specified property name.
boundName
The specified item name in DataContext.

Return Value

Current builder.
Remarks
When the control works in template mode, bind the property which name is specified to some item which name is specified.
See Also

Reference

ControlBuilder<TControl,TBuilder> Class
ControlBuilder<TControl,TBuilder> Members